package com.nf.entity;

public class HelloWork {
    //字段
    private String name;


    //属性
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }



    public HelloWork(){
        System.out.println("我最帅");
    }
    public void hello(){
        System.out.println("我叫"+name);
    }
}
